﻿using System.Text.Json.Serialization;
namespace ClassData
{
    [Serializable]
    public class StatusInfo
    {
        public Vector3? Position { get; set; }
        public Vector3? Direction { get; set; }
        public Vector3? Rotation { get; set; }
        public StatusInfo()
        {

        }

        public StatusInfo(Vector3? position, Vector3? direction)
        {
            this.Position = position;
            Direction = direction;
        }


        public string ToString()
        {
            return $"当前角度{Rotation},当前位置{Position},当前方向{Direction}";
        }
    }
}